package com.windowes.weichang.pojo;

import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author
 */
public class Demand implements Serializable {
    private Integer id;

    private Integer provinceId;

    private Integer cityId;

    private Integer areaId;

    private Integer streetId;

    private String standardAddress;

    private String dtladdress;

    private String name;

    private String phone;

    private String demand;

    /**
     * 图片地址
     */
    private String picUrls;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 分配店铺ID
     */
    private Integer shopId;

    /**
     * 店铺分配处理人员
     */
    private Integer operateUid;

    /**
     * 平台分发人员
     */
    private Integer dispatchUid;

    /**
     * 提交时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date lastUpdateTime;

    /**
     * 0-待处理 1-待分配 2-预约查看 3-确认上门
     * 4-方案确认并报价 5-方案确认支付定金（X） 6-生产中
     * 7- 生产完成 8-预约施工 9-施工确认上门
     * 10- 待支付 11-待评价
     */
    private Short status;

    /**
     * 更换意向:0-一般 1-较强烈 2-强烈
     */
    private Short intentLevel;

    /**
     * 综合评分
     */
    private Integer comprehensiveStar;

    private static final long serialVersionUID = 1L;
    private String area;
    private String shopName;
    private BigDecimal longtitude;
    private BigDecimal latitude;
    private OrderStatus statusDtl;
    private String location;
    private String orderNo;
    private Integer year;
    private BigDecimal totalPrice;
    private BigDecimal waittingPay;
    private BigDecimal paid;
    private String ebExternalId;
    private String intent;
    private String shape;
    private String category;
    private BigDecimal waittingPayForShop;
    private Integer shopCalacStatus;

    public Integer getShopCalacStatus() {
        return shopCalacStatus;
    }

    public void setShopCalacStatus(Integer shopCalacStatus) {
        this.shopCalacStatus = shopCalacStatus;
    }

    public String getIntent() {
        return intent;
    }

    public void setIntent(String intent) {
        this.intent = intent;
    }

    public String getShape() {
        return shape;
    }

    public void setShape(String shape) {
        this.shape = shape;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    /**
     * 支付状态 0-未支付 1-已付定金 2-已清
     */
    private Integer payStatus;
    private List<DemandCustomerPayFlow> customerPayFlow;
    private List<DemandShopPayFlow> shopPayFlow;
    private Integer producingStep;


    public String getEbExternalId() {
        return ebExternalId;
    }

    public void setEbExternalId(String ebExternalId) {
        this.ebExternalId = ebExternalId;
    }

    /**
     * 部门ID
     */
    private Integer deptId;

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getWaittingPay() {
        return waittingPay;
    }

    public void setWaittingPay(BigDecimal waittingPay) {
        this.waittingPay = waittingPay;
    }

    public BigDecimal getPaid() {
        return paid;
    }

    public void setPaid(BigDecimal paid) {
        this.paid = paid;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getStreetId() {
        return streetId;
    }

    public void setStreetId(Integer streetId) {
        this.streetId = streetId;
    }

    public String getStandardAddress() {
        return standardAddress;
    }

    public void setStandardAddress(String standardAddress) {
        this.standardAddress = standardAddress;
    }

    public String getDtladdress() {
        return dtladdress;
    }

    public void setDtladdress(String dtladdress) {
        this.dtladdress = dtladdress;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getDemand() {
        return demand;
    }

    public void setDemand(String demand) {
        this.demand = demand;
    }

    public String getPicUrls() {
        return picUrls;
    }

    public void setPicUrls(String picUrls) {
        this.picUrls = picUrls;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getOperateUid() {
        return operateUid;
    }

    public void setOperateUid(Integer operateUid) {
        this.operateUid = operateUid;
    }

    public Integer getDispatchUid() {
        return dispatchUid;
    }

    public void setDispatchUid(Integer dispatchUid) {
        this.dispatchUid = dispatchUid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public Short getIntentLevel() {
        return intentLevel;
    }

    public void setIntentLevel(Short intentLevel) {
        this.intentLevel = intentLevel;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getArea() {
        return area;
    }


    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopName() {
        return shopName;
    }

    public void setStatusDtl(OrderStatus statusDtl) {
        this.statusDtl = statusDtl;
    }

    public OrderStatus getStatusDtl() {
        return statusDtl;
    }

    public BigDecimal getLongtitude() {
        return longtitude;
    }

    public void setLongtitude(BigDecimal longtitude) {
        this.longtitude = longtitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public void setCustomerPayFlow(List<DemandCustomerPayFlow> customerPayFlow) {
        this.customerPayFlow = customerPayFlow;
    }

    public List<DemandCustomerPayFlow> getCustomerPayFlow() {
        return customerPayFlow;
    }

    public void setShopPayFlow(List<DemandShopPayFlow> shopPayFlow) {
        this.shopPayFlow = shopPayFlow;
    }

    public List<DemandShopPayFlow> getShopPayFlow() {
        return shopPayFlow;
    }

    public void setProducingStep(Integer producingStep) {
        this.producingStep = producingStep;
    }

    public Integer getProducingStep() {
        return producingStep;
    }

    public Integer getComprehensiveStar() {
        return comprehensiveStar;
    }

    public void setComprehensiveStar(Integer comprehensiveStar) {
        this.comprehensiveStar = comprehensiveStar;
    }

    public BigDecimal getWaittingPayForShop() {
        return waittingPayForShop;
    }

    public void setWaittingPayForShop(BigDecimal waittingPayForShop) {
        this.waittingPayForShop = waittingPayForShop;
    }
}